home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ADA Programming Guide
/
ADA Programming Guide.iso
/
adatutor
/
lrmrdr
/
part2.rc
< prev
next >
Wrap
Text File
|
1996-01-30
|
20KB
|
284 lines
date: 5 29 1992 page: 1
/home3/conn/lrm/daf.REP_COM
Score Good Total |Level------- Metric Name
0.77 1029 1334 |1----------- RELIABILITY
0.63 1703 2703 |1----------- MAINTAINABILITY
0.90 3772 4210 |1----------- PORTABILITY
0.80 5037 6330 |1----------- ALL_CRITERIA
325 | 2---------- SLOC
1308 | 3--------- PHYSICAL_LINES
989 | 4-------- PHYSICAL_ADA_LINES
939 | 5------- ADA_UNCOMMENTED_LINES
50 | 5------- ADA_COMMENTED_LINES
50 | 6------ COMMENTED_LINES_WITH_TEXT
0 | 6------ COMMENTED_LINES_BLANK
189 | 4-------- PHYSICAL_COMMENT_LINES
183 | 5------- COMMENT_LINES_WITH_TEXT
6 | 5------- COMMENT_LINES_BLANK
130 | 4-------- PHYSICAL_BLANK_LINES
325 | 3--------- LOGICAL_LINES
313 | 4-------- STATEMENTS
191 | 5------- EXECUTABLE_STATEMENTS
122 | 5------- DECLARATIVE_STATEMENTS
12 | 4-------- CONTEXT_CLAUSES
11 | 5------- WITH_CLAUSES
1 | 5------- USE_CLAUSES
0 | 4-------- PRAGMAS
0.56 110 195 | 2---------- ANOMALY_MANAGEMENT
0.49 37 75 | 3--------- PREVENTION
0.47 22 47 | 4-------- APPLICATIVE_DECLARATIONS
1.00 17 17 | 5------- APPLICATIVE_DECL_SPECIFICATION
0.17 5 30 | 5------- APPLICATIVE_DECL_BODY
0.41 9 22 | 4-------- DEFAULT_INITIALIZATION
0 0 | 5------- DEFAULT_INIT_SPECIFICATION
0.41 9 22 | 5------- DEFAULT_INIT_BODY
0 0 | 4-------- NORMAL_LOOPS
0 0 | 4-------- CONSTRAINED_NUMERICS
1.00 6 6 | 4-------- CONSTRAINED_SUBTYPE
0 0 | 4-------- CONSTRAINED_VARIANT_RECORDS
0.56 59 106 | 3--------- DETECTION
0 0 | 4-------- SUPPRESS_PRAGMA
0 | 5------- CONSTRAINT_ERROR
0 | 5------- PROGRAM_ERROR
0 | 5------- STORAGE_ERROR
0 | 5------- NUMERIC_ERROR
0.56 59 106 | 4-------- USER_TYPES
0.44 12 27 | 5------- USER_TYPES_FOR_PARAMETERS
0.55 18 33 | 5------- USER_TYPES_SPECIFICATION
0.63 29 46 | 5------- USER_TYPES_BODY
1.00 14 14 | 3--------- RECOVERY
1.00 14 14 | 4-------- USER_EXCEPTIONS_RAISED
0.94 3224 3432 | 2---------- INDEPENDENCE
0.84 1047 1247 | 3--------- IO_INDEP
1 | 4-------- NO_MISSED_CLOSE
0.86 685 794 | 4-------- NO_SYS_DEP_IO
0.80 362 452 | 4-------- IO_NON_MIX
1.00 293 293 | 3--------- TASK_INDEP
1.00 293 293 | 4-------- NO_TASK_STMT
0 0 | 4-------- TASK_STMT_NON_MIX
0.99 1077 1085 | 3--------- MACH_INDEP
date: 5 29 1992 page: 2
/home3/conn/lrm/daf.REP_COM
Score Good Total |Level------- Metric Name
0.00 0 8 | 4-------- MACHARITHINDEP
0 0 | 5------- PACKAGE_ARITH_INDEP
0 | 6------ NO_MAX_INT
0 | 6------ NO_MIN_INT
0 | 6------ NO_MAX_DIGITS
0 | 6------ NO_MAX_MANTISSA
0 | 6------ NO_FINE_DELTA
0 | 6------ NO_TICK
0 | 5------- NO_INTEGER_DECL
0 | 5------- NO_SHORT_INTEGER_DECL
0 | 5------- NO_LONG_INTEGER_DECL
0 | 5------- NO_FLOAT_DECL
0 | 5------- NO_SHORT_FLOAT_DECL
0 | 5------- NO_LONG_FLOAT_DECL
8 | 5------- NO_NATURAL_DECL
0 | 5------- NO_POSITIVE_DECL
0 0 | 5------- FIXED_CLAUSE
1.00 32 32 | 4-------- MACHREPINDEP
0 | 5------- NO_PRAGMA_PACK
1.00 13 13 | 5------- NUMERIC_CONSTANT_DECL
0 0 | 5------- NUMERIC_TYPE_DECLARATIONS
1.00 19 19 | 5------- CLAUSE_REP_INDEP
1.00 13 13 | 6------ NO_LENGTH_CLAUSE_FOR_SIZE
0 0 | 6------ NO_LENGTH_CLAUSE_FOR_STORAGE_SIZE
1.00 3 3 | 6------ NO_ALIGNMENT_CLAUSE_FOR_RECORD_TYPES
1.00 3 3 | 6------ NO_COMPONENT_CLAUSE_FOR_RECORD_TYPES
1.00 851 851 | 4-------- MACHCONFIGINDEP
1.00 57 57 | 5------- NO_ADDRESS_CLAUSE_IN_DECL
0 | 5------- NO_PRAG_SYS_PARAM
1.00 794 794 | 5------- NO_REP_ATTRIBUTE
1.00 194 194 | 4-------- MACHCODEINDEP
1.00 194 194 | 5------- NO_MACH_CODE_STMT
1.00 807 807 | 3--------- SOFT_INDEP
1.00 794 794 | 4-------- NO_SYS_DEP_MOD
0 | 4-------- NO_IMPL_DEP_PRAGMAS
0 | 4-------- NO_PRAGMA_INTERFACE
1.00 13 13 | 4-------- NON_ACCESS_TYPE
0 | 4-------- NO_IMPL_DEP_ATTRS
0 0 | 3--------- PHYS_LIM_INDEP
0 0 | 4-------- COMPILER_LIMIT
0.62 66 107 | 2---------- MODULARITY
0.51 40 79 | 3--------- INFORMATION_HIDING
0.55 40 73 | 4-------- HIDDEN_INFORMATION
0.23 5 22 | 5------- CONSTANTS_HID
0.00 0 7 | 5------- EXCEPTIONS_HID
1.00 25 25 | 5------- VARIABLES_HID
0.54 7 13 | 5------- TYPES_HID
0.50 3 6 | 5------- SUBTYPES_HID
0 0 | 5------- TASKS_HID
0.00 0 6 | 4-------- PRIVATE_INFORMATION
0.00 0 6 | 5------- PRIVATE_TYPES
0 0 | 5------- LIMITED_PRIVATE_TYPES
0 0 | 5------- PRIVATE_TYPE_AND_PART
0 0 | 5------- PRIVATE_TYPE_AND_CONSTANT
1.00 22 22 | 3--------- PROFILE
1.00 22 22 | 4-------- LIMITED_SIZE_PROFILE
date: 5 29 1992 page: 3
/home3/conn/lrm/daf.REP_COM
Score Good Total |Level------- Metric Name
0 0 | 4-------- SIMPLE_BLOCKS
0.67 4 6 | 3--------- COUPLING
0.33 1 3 | 4-------- NO_MULTIPLE_TYPE_DECLARATIONS
1.00 3 3 | 4-------- NO_VARIABLE_DECLARATIONS_IN_SPEC
0.72 482 671 | 2---------- SELF_DESCRIPTIVENESS
0.38 104 272 | 3--------- COMMENTS
0.33 57 171 | 4-------- N_COMMENTS
0.31 13 42 | 5------- NCS_SPEC
0.20 3 15 | 6------ NCS_PACKAGE_SPEC
0 0 | 6------ NCS_TASK_SPEC
0.37 10 27 | 6------ NCS_SUBPROG_SPEC
0.20 12 59 | 5------- NCS_BODY
0.20 1 5 | 6------ NCS_PACKAGE_BODY
0 0 | 6------ NCS_TASK_BODY
0.20 11 54 | 6------ NCS_SUBPROG_BODY
0 0 | 6------ NCS_SUBUNIT
0 0 | 6------ NCS_BODY_STUB
0.22 5 23 | 5------- NCS_STATEMENTS
0.00 0 4 | 6------ NCS_EXIT
0.00 0 7 | 6------ NCS_RETURN
0 0 | 6------ NCS_GOTO
0 0 | 6------ NCS_ABORT
0 0 | 6------ NCS_DELAY
0 0 | 6------ NCS_TERMINATE
0.36 4 11 | 6------ NCS_WITH
1.00 1 1 | 6------ NCS_USE
0.57 27 47 | 5------- NCS_DECLARATIONS
0 0 | 6------ NCS_PRAGMA
0 0 | 6------ NCS_RECORD_REPRESENTATION
0 0 | 6------ NCS_ADDRESS_CLAUSE
0 0 | 6------ NCS_ALIGNMENT_CLAUSE
0 0 | 6------ NCS_LENGTH_CLAUSE
1.00 22 22 | 6------ NCS_CONSTANT_DECL
0.20 5 25 | 6------ NCS_VARIABLE_DECL
0 0 | 6------ NCS_ENTRY_DECL
0.47 47 101 | 4-------- N_COMMENTED
0.92 11 12 | 5------- NCO_SPEC
0.67 2 3 | 6------ NCO_PACKAGE_SPEC
0 0 | 6------ NCO_TASK_SPEC
1.00 9 9 | 6------ NCO_SUBPROG_SPEC
0.63 12 19 | 5------- NCO_BODY
1.00 1 1 | 6------ NCO_PACKAGE_BODY
0 0 | 6------ NCO_TASK_BODY
0.61 11 18 | 6------ NCO_SUBPROG_BODY
0 0 | 6------ NCO_SUBUNIT
0 0 | 6------ NCO_BODY_STUB
0.22 5 23 | 5------- NCO_STATEMENTS
0.00 0 4 | 6------ NCO_EXIT
0.00 0 7 | 6------ NCO_RETURN
0 0 | 6------ NCO_GOTO
0 0 | 6------ NCO_ABORT
0 0 | 6------ NCO_DELAY
0 0 | 6------ NCO_TERMINATE
0.36 4 11 | 6------ NCO_WITH
1.00 1 1 | 6------ NCO_USE
0.40 19 47 | 5------- NCO_DECLARATIONS
date: 5 29 1992 page: 4
/home3/conn/lrm/daf.REP_COM
Score Good Total |Level------- Metric Name
0 0 | 6------ NCO_PRAGMA
0 0 | 6------ NCO_RECORD_REPRESENTATION
0 0 | 6------ NCO_ADDRESS_CLAUSE
0 0 | 6------ NCO_ALIGNMENT_CLAUSE
0 0 | 6------ NCO_LENGTH_CLAUSE
0.73 16 22 | 6------ NCO_CONSTANT_DECL
0.12 3 25 | 6------ NCO_VARIABLE_DECL
0 0 | 6------ NCO_ENTRY_DECL
0.95 378 399 | 3--------- IDENTIFIER
0.95 378 399 | 4-------- NO_PREDEFINED_WORDS
0.81 919 1139 | 2---------- SIMPLICITY
0.78 18 23 | 3--------- CODING_SIMPLICITY
0.78 18 23 | 4-------- SIMPLE_BOOLEAN_EXPRESSION
0 0 | 4-------- EXPRES_TO_DO_BOOLEAN_ASSIGN
0.84 563 672 | 3--------- DESIGN_SIMPLICITY
0.41 38 93 | 4-------- CALLS_TO_PROCEDURES
1.00 7 7 | 4-------- ARRAY_TYPE_EXPLICIT
0.60 6 10 | 4-------- SUBTYPE_EXPLICIT
0.25 1 4 | 4-------- ARRAY_RANGE_TYPE_EXPLICIT
0.92 511 558 | 4-------- DECLARATIONS_CONTAIN_LITERALS
0.76 338 444 | 3--------- FLOW_SIMPLICITY
0.78 50 64 | 4-------- BRANCH_CONSTRUCTS
1.00 18 18 | 4-------- SINGLE_EXIT_SUBPROGRAM
0.79 11 14 | 4-------- FOR_LOOPS
1.00 22 22 | 4-------- LEVEL_OF_NESTING_BY_MODULE
1.00 21 21 | 4-------- LEVEL_OF_NESTING
0.59 38 64 | 4-------- STRUCTURED_BRANCH_CONSTRUCT
0.78 50 64 | 4-------- NON_BACK_BRANCH_CONSTRUCT
0 0 | 4-------- NO_LABELS
0.65 22 34 | 4-------- DECISIONS
0 0 | 4-------- GOTOS
0.65 64 99 | 4-------- BRANCH_AND_NESTING
0.95 21 22 | 4-------- CYCLOMATIC_COMPLEXITY
0.95 21 22 | 4-------- MULTIPLE_COND_CYCLOMATIC_COMPLEXITY
0.30 236 786 | 2---------- SYSTEM_CLARITY
0.30 236 786 | 3--------- STYLE
0.67 35 52 | 4-------- EXPRESSION_STYLE
0.78 18 23 | 5------- NON_NEGATED_BOOLEAN_EXPRESSIONS
0.00 0 4 | 5------- EXPRESSIONS_PARENTHESIZED
0.79 11 14 | 5------- NO_WHILE_LOOPS
0.55 6 11 | 5------- FOR_LOOPS_WITH_TYPE
0.99 96 97 | 4-------- DECLARATION_STYLE
0.93 13 14 | 5------- NO_DEFAULT_MODE_PARAMETERS
0 0 | 5------- PRIVATE_ACCESS_TYPES
1.00 83 83 | 5------- SINGLE_OBJECT_DECLARATION_LISTS
0 0 | 5------- SINGLE_IMPLICIT_TYPE_ARRAY
0 0 | 5------- NO_INITIALIZATION_BY_NEW
0.08 24 299 | 4-------- NAMING_STYLE
0.00 0 14 | 5------- STRUCTURES_NAMED
0.00 0 14 | 6------ NAMED_LOOPS
0 0 | 6------ NAMED_BLOCKS
0.61 22 36 | 5------- STRUCTURE_ENDS_WITH_NAME
1.00 22 22 | 6------ MODULE_END_WITH_NAME
0.00 0 14 | 6------ LOOP_END_WITH_NAME
0 0 | 6------ BLOCK_END_WITH_NAME
0.00 0 4 | 5------- NAMED_EXITS
date: 5 29 1992 page: 5
/home3/conn/lrm/daf.REP_COM
Score Good Total |Level------- Metric Name
0.01 2 245 | 5------- NAMED_AGGREGATE
0.24 81 338 | 4-------- QUALIFICATION_STYLE
0.00 0 245 | 5------- QUALIFIED_AGGREGATE
0.87 81 93 | 5------- QUALIFIED_SUBPROGRAM
STATUS PAGE FOR COMPOSITE REPORT
/home3/conn/lrm/daf.REP_COM
COMMAND LINE:
report -unit -status *.ads *.adb *.ada *.a
CONTROL FILES:
/home2/adamat_1d/product_library/ADDSETFILE.
/home2/adamat_1d/product_library/METRICS.
/home2/adamat_1d/product_library/MERGE.
/home2/adamat_1d/product_library/REPORT_FORMAT.
SETTINGS USED FOR REPORT COMMAND QUALIFIERS:
ADHERENCES NEGATED
BODY PRESENT
CLOSURE NEGATED
COMPARE NEGATED
COMPOSITE PRESENT
CONTEXT NEGATED
FILE_LIST NEGATED
LOG PRESENT
SPECIFICATION PRESENT
STATUS PRESENT
SUBUNITS PRESENT
SYNTAX_ONLY PRESENT
UNIT PRESENT
UNIT NAMES RESOLVED FROM REPORT PARAMETER:
DAF_HANDLER_
DAF_HANDLER
SYSDEP_
MAKE_CIT
MAKE_DAF
CITATION_DEFINITION_